<?php echo $header; ?>

	<div class="page">
		<div class="personal_info">
    	<a href="/index.php?route=account/login">login</a> or <a href="/index.php?route=account/register">create an account</a>.
    	</div>
		<div class="greenPanel">
			
			<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
			    <table width="615" cellspacing="0" cellpadding="0" class="register">
			      <tr>
				<td colspan="3" height="35" style="background:url(catalog/view/theme/default/images/logo_title.png) no-repeat center">
				    <span class="hidden">register</span>
				</td>
			      </tr>
			      <tr>
				<td width="45" rowspan="2" style="background:url(catalog/view/theme/default/images/register2_left.png)"></td>
				<td width="*" height="415" style="background:url(catalog/view/theme/default/images/register2_bg.png)">
				<?php if ($success) { ?>
					<div class="success" style="margin-top:-170px"><?php echo $success; ?></div>
				<?php } ?>
				<?php if ($error_warning) { ?>
					<div class="warning" style="margin-top:-170px"><?php echo $error_warning; ?></div>
				<?php } ?>
				   <table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
				      <tr>
					<td>
				    <ul>
					<li>E-mail</li>
					<li><input id="email" name="email" class="input" /></li>
					<li>Password</li>
					<li><input id="password" name="password" type="password"  class="input"/></li>
				    </ul>
				    </td>
				    </tr>
				    </table>
				</td>
				<td width="45" rowspan="2" style="background:url(catalog/view/theme/default/images/register2_right.png)"></td>
			      </tr>
			      <tr>
				<td height="30" align="center" bgcolor="#ededed">
				    <input type="submit" style="background:url(catalog/view/theme/default/images/login.png);line-height:28px;width:68px;height:28px;border:0px;cursor:pointer" value="<?php echo $button_login; ?>" />
				    <input type="reset" style="background:url(catalog/view/theme/default/images/reset.png);line-height:28px;width:68px;height:28px;border:0px;cursor:pointer" value="<?php echo $button_reset; ?>" />
				</td>
			      </tr>
			      <tr>
				<td colspan="3" height="40" style="background:url(catalog/view/theme/default/images/register_bottom.png)"></td>
			      </tr>
			    </table>
			</form>
		    <div class="register_tip">
			<ul>
			    <li>
				<a href="<?php echo $login;?>">Welcome<p>Account Login</p></a>
			    </li>
			    <li>
				<a href="<?php echo $forgotten; ?>">Forget Your<p>Password</p></a>
			    </li>
			    <li>
				<a href="<?php echo $register; ?>">New<p>Account</p></a>
			    </li>
		      </ul>
		</div>
        </div>
    </div>
<?php echo $footer; ?>
